package com.lebang.service.sys;

import com.lebang.domain.AppCheckLog;
import com.lebang.example.AppCheckLogExample;
import com.lebang.mapper.AppCheckLogMapper;
import com.lebang.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* 聚合版本审核日志
* @Author hwq
* @Date 2020-05-26
*/
@Service
public class AppCheckLogService extends BaseService<AppCheckLog,Integer, AppCheckLogExample>{
@Autowired
private AppCheckLogMapper appCheckLogMapper;
    public Integer checkIp(String ipAddr,String appStore) {
        return appCheckLogMapper.checkIp(ipAddr,appStore);
    }

    public int addCountByIds(Integer ids) {
        return appCheckLogMapper.addCountByIds(ids);
    }

    public void deleteByAll() {
        appCheckLogMapper.deleteByAll();

    }
}
